package com.xr.file.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "minio")
public class MinioConfigurationProperties {

	@Value("endpoint")
	private String endpoint;

	@Value("access-key")
	private String accessKey;

	@Value("access-secret")
	private String accessSecret;

	@Value("bucket")
	private String bucket;

}
